import { utils } from "../../utils/CommonUtil";

export class SDK{

    constructor(){
        
    }

    public SaveLocalData(key:string,value:string){
        utils.CommonUtils.setItem(key,value);
    }

    public GetLocalData(key:string,defualtValue:string = null):string{
        let value = utils.CommonUtils.getItem(key);
        if(defualtValue != null && value == null){
            return defualtValue;
        }
        return value;
    }
}